Prioritized rule based method and apparatus for diagnosis and treatment of arrhythmias

ABSTRACT

An implantable anti-tachyarrhythmia device which delivers anti-tachyarrhythmia therapies to a patient&#39;s heart in response to detection of tachyarrhythmias. The device defines first criteria indicating the presence of atrial tachycardia and second criteria indicating the presence of atrial fibrillation, and compares the time elapsed since the either the first or second criteria were initially met to a defined time duration. In response to the defined duration having passed and either of the first or second criteria being met, the device triggers delivery of an appropriate anti-tachyarrhythmia therapy. The timer is reset on detection of termination of atrial tachyarrhythmia, but not on failure of the first and second criteria to be met. The first and second criteria are defined such that they can not be concurrently met.

This application is a continuation of application Ser. No. 08/895,342, filed Jul. 16, 1997, now U.S. Pat. No. 5,755,736 which is a File Wrapper Continuation of application Ser. No. 08/649,145 filed May 14, 1996, now abandoned.

BACKGROUND OF THE INVENTION

This invention relates to devices which detect and/or treat tachyarrhythmias (rapid heart rhythms), and more specifically, to mechanisms to distinguish among various tachyarrhythmias and to provide appropriate therapies to treat the identified tachyarrhythmias.

Early automatic tachyarrhythmia detection systems for automatic cardioverter/defibrillators relied upon the presence or absence of electrical and mechanical heart activity (such as intra-myocardial pressure, blood pressure, impedance, stroke volume or heart movement) and/or the rate of the electrocardiogram to detect hemodynamically compromising ventricular tachycardia or fibrillation.

In pacemaker/cardioverter/defibrillators presently in commercial distribution or clinical evaluation, fibrillation is generally distinguished from ventricular tachycardia using ventricular rate based criteria, In such devices, it is common to specify the rate or interval ranges that characterize a tachyarrhythmia as opposed to fibrillation. However, some patients may suffer from ventricular tachycardia and ventricular fibrillation which have similar or overlapping rates, making it difficult to distinguish low rate fibrillation from high rate tachycardia. In addition, ventricular fibrillation may display R--R intervals which vary considerably, resulting in intervals that may fall within both the tachycardia and fibrillation rate or interval ranges, or outside both. Similarly, supraventricular arrhythmias may be the cause of high ventricular rates, or may be present during ventricular arrhythmias, further increasing the possibilities of misdiagnosis.

Presently available pacemaker/cardioverter/defibrillator arrhythmia control devices, such as the Model 7219 and Model 7217 devices commercially available from Medtronic, Inc., employ programmable fibrillation interval ranges and tachycardia detection interval ranges, along with measurement of suddenness of onset and rate variability. For future generations of devices, numerous detection and classification systems have been proposed. Numerous patents, including U.S. Pat. No. 5,217,021 issued to Steinhaus et al., U.S. Pat. No. 5,086,772 issued to Lanard et al., U.S. Pat. No. 5,058,599 issued to Andersen and U.S. Pat. No. 5,312,441 issued to Mader et al propose waveform morphology analysis systems for determining the type and origin of detected arrhythmias. Other patents, including U.S. Pat. No. 5,205,583 issued to Olson, U.S. Pat. No. 5,913,550 issued to Duffin, U.S. Pat. No. 5,193,535 issued to Bardy et al., U.S. Pat. No. 5,161,527 issued to Nappholz et al., U.S. Pat. No. 5,107,850 issued to Olive and U.S. Pat. No. 5,048,521, issued to Pless et al. propose systems for analysis of order and timing of atrial and ventricular events.

In the existing and proposed devices discussed above, one or two basic strategies are generally followed. A first strategy is to identify heart events, event intervals or event rates as they occur as indicative of the likelihood of the occurrence of specific types of arrhythmias, with each arrhythnia having a preset group of criteria which must be met as precedent to detection or classification. As events progress, the criteria for identifying the various arrhythmias are all monitored simultaneously, with the first set of criteria to be met resulting in detection and diagnosis of the arrhythmia. A second strategy is to define a set of criteria for events, event intervals and event rates which is generally indicative of a group of arrhythmias, and following those criteria being met, analyzing preceding or subsequent events to determine which specific arrhythmia is present.

In the Medtronic Model 7219 devices, an arrhythmia detection and classification system generally as disclosed in U.S. Pat. No. 5,342,402, issued to Olson et al., incorporated herein by reference in its entirety, is employed, which uses both strategies together.

SUMMARY OF THE INVENTION

The arrhythmia detection and classification system of the present invention employs a prioritized set of inter-related rules for arrhythmia detection. Each rule contains a set of one or more "clauses" which must be satisfied (criteria which must be met). While all clauses of a rule are satisfied, the rule is indicated to be met. In the context of the present application this is referred to as the rule "firing". It is possible for multiple rules to be "firing" at the same time, with the highest priority rule taking precedence. Some rules trigger, delivery of therapy when firing. Other rules inhibit delivery of therapy when firing. The highest priority rule firing at any specific time controls the behavior of the device. For example, the firing of a rule which triggers therapy is superseded by the firing of higher priority rules preventing delivery of therapy. Rules cease firing when their clauses cease to be satisfied, whether or not a therapy is triggered by the rule.

Each rule includes a set of clauses or criteria which, when satisfied, indicate the likely occurrence of a specified type of heart rhythm, including various tachyarrhythmias, sinus tachycardia and normal sinus rhythm. A specific rhythm or tachyarrhythmia may have more than one associated rule. The rules are interrelated, such that progress toward meeting the requirements of a clause of one rule may also be the subject matter of a clause of a different rule.

The specific criteria set forth by the clauses of the various rules as disclosed include a number of known criteria for evaluating heart rhythm, including the entire arrhythmia detection and classification system employed in the presently available Medtronic 7219 pacemaker cardioverter defibrillators, as well as criteria disclosed in U.S. Pat. No. 5,330,508, issued to Gunderson, as will be discussed below. In addition, a number of new evaluation criteria are included within the clauses of various rules. One such new detection methodology is based upon the classification of the events occurring associated with the sequence of two ventricular depolarizations into a limited number of event patterns, based upon the number and times of occurrences of atrial events, preceding the two most recent ventricular events. An event pattern is developed for each individual ventricular event, so that successive event patterns overlap one another. The inventors have determined that certain sequences of event patterns are strongly indicative of specific types of heart rhythms. For heart rhythms of which this is true, a defined set of indicative event pattern sequences or a "grammar" is defined. Adherence of the heart rhythm to the grammars associated with various heart rhythms is determined by simultaneously operating continuous recognition machines, the outputs of which form the subject matter of one or more clauses, within the hierarchy of rules.

In a preferred embodiment of the invention, the device is provided with rules which when satisfied indicate the presence of sustained atrial fibrillation and sustained atrial flutter and in response to detection thereof delivers anti-atrial fibrillation or anti-atrial tachycardia therapies. These rules include a set of various new classification criteria, including an atrial fibrillation/atrial tachycardia evidence counter which is incremented and decremented on a beat by beat basis and compared with a defined threshold count or counts taken as indicative of atrial fibrillation or atrial tachycardia. The atrial rate and regularity is also monitored and atrial fibrillation or atrial tachycardia is preliminarily detected when the evidence counter is at or above such a threshold and the atrial rhythm meets defined rate zone criteria associated with atrial fibrillation or atrial tachycardia. When both the evidence count and the rate zone criteria are met, the arrhythmia underway is preliminarily determined to be atrial fibrillation or atrial tachycardia, depending on which rate zone criteria are met. A sustained atrial fibrillation/atrial tachycardia duration timer is then initiated and continues to time until termination of atrial tachyarrhythmia is detected. The time duration since the preliminary detection of an atrial tachyarrhythmia is continually compared to one or more minimum duration values associated with the atrial tachyarrhythmia determined to presently be underway and/or the next scheduled therapy for such arrhythmia. If the time duration since preliminary detection of atrial arrhythmia meets or exceeds the applicable minimum duration value, and other associated criteria are also met, the next scheduled anti-atrial arrhythmia therapy is delivered.

Additional associated criteria which must be met as a prerequisite to delivery of atrial anti-tachyarrhythmia therapies may include expiration of a minimum interval from the most recently delivered therapy not followed by a detected termination of atrial tachyarrhythmia, confirmation that the most recent heart cycles do not indicate a return to sinus rhythm, time duration since preliminary detection of atrial tachyarrhythmia being less than a maximum duration value, time of day corresponding to a predefined time range and/or less than a preset number of atrial anti-arrhythmia therapies having been delivered in a preceding time period.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a first embodiment of an implantable pacemaker/cardioverter/defibrillator of a type appropriate for use in practicing the present invention, in conjunction with a human heart.

FIG. 2 illustrates a functional schematic diagram of an implantable pacemaker/cardioverter/defibrillator in which the invention may be practiced.

FIG. 3 illustrates the basic timing intervals employed by a preferred embodiment of the present invention to classify sequences of heart events.

FIG. 4 illustrates the classification system employed by a preferred embodiment of the present invention to classify sequences of heart events.

FIG. 5 is a table illustrating the operation of a continuous recognition machine employed by a preferred embodiment of the present invention to accomplish classification of heart event sequences according to the system illustrated in FIG. 4.

FIG. 6 is a table illustrating the operation of a continuous recognition machine employed by a preferred embodiment of the present invention to identify the probable occurrence of normal sinus rhythm or sinus tachycardia based upon series of heart event sequences as classified using the continuous recognition machine illustrated in FIG. 5.

FIG. 7 is a table illustrating the operation of a continuous recognition machine employed by a preferred embodiment of the present invention to identify the probable occurrence of normal sinus rhythm or sinus tachycardia in the presence of far field R-wave sensing in the atrium, based upon series of heart event sequences as classified using the continuous recognition machine illustrated in FIG. 5.

FIG. 8 is a table illustrating the operation of a second continuous recognition machine employed by a preferred embodiment of the present invention to identify the probable occurrence of atrial fibrillation or flutter based upon series of heart event sequences as classified using the continuous recognition machine illustrated in FIG. 5.

FIG. 9 is a table illustrating the operation of a continuous recognition machine employed by a preferred embodiment of the present invention to identify the probable occurrence of AV nodal tachycardia based upon series of heart event sequences as classified using the continuous recognition machine illustrated in FIG. 5.

FIG. 10 is a functional flowchart illustrating the operation of the heart rhythm classification methodology employed by the present invention.

FIG. 11 is a functional flowchart illustrating the interaction of the various rules for initiation and prevention of anti-arrhythmia therapies.

FIG. 12 is a diagram illustrating the operation of the atrial fibrillation/atrial tachycardia evidence counter.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

FIG. 1 illustrates a defibrillator and lead set according to the present invention. The ventricular lead includes an elongated insulative lead body 16, carrying three concentric coiled conductors, separated from one another by tubular insulative sheaths. Located adjacent the distal end of the lead are a ring electrode 24, an extendable helix electrode 26, mounted retractably within an insulative electrode head 28, and an elongated coil electrode 20. Each of the electrodes is coupled to one of the coiled conductors within the lead body 16. Electrodes 24 and 26 are employed for cardiac pacing and for sensing ventricular depolarizations. At the proximal end of the lead is a bifurcated connector 14 which carries three electrical connectors, each coupled to one of the coiled conductors. The defibrillation electrode 20 may be fabricated from platinum, platinum alloy or other materials known to be usable in implantable defibrillation electrodes and may be about 5 cm in length.

The atrial/SVC lead includes an elongated insulative lead body 15, carrying three concentric coiled conductors, separated from one another by tubular insulative sheaths, corresponding to the structure of the ventricular lead. Located adjacent the J-shaped distal end of the lead are a ring electrode 21 and an extendable helix electrode 17, mounted retractably within an insulative electrode head 19. Each of the electrodes is coupled to one of the coiled conductors within the lead body 15. Electrodes 17 and 21 are employed for atrial pacing and for sensing atrial depolarizations. An elongated coil electrode 23 is provided proximal to electrode 21 and coupled to the third conductor within the lead body 15. Electrode 23 preferably is 10 cm in length or greater and is configured to extend from the SVC toward the tricuspid valve. In one preferred embodiment tested by the inventors, approximately 5 cm of the right atrium/SVC electrode was located in the right atrium, with the remaining 5 cm located in the SVC. At the proximal end of the lead is a bifurcated connector 13 which carries three electrical connectors, each coupled to one of the coiled conductors.

The coronary sinus lead includes an elongated insulative lead body 6, carrying one coiled conductor, coupled to an elongated coiled defibrillation electrode 8. Electrode 8, illustrated in broken outline, is located within the coronary sinus and great vein of the heart. At the proximal end of the lead is a connector plug 4 which carries an electrical connector, coupled to the coiled conductor. The coronary sinus/great vein electrode 8 may be about 5 cm in length.

An implantable pacemaker/cardioverter/defibrillator 10 is shown in combination with the leads, with the lead connector assemblies 4, 13 and 14 inserted into the connector block 12. Optionally, insulation of the outward facing portion of the housing 11 of the pacemaker/cardioverter/defibrillator 10 may be provided using a plastic coating, for example parylene or silicone rubber, as is currently employed in some unipolar cardiac pacemakers. However, the outward facing portion may instead be left uninsulated, or some other division between insulated and uninsulated portions may be employed. The uninsulated portion of the housing 11 optionally serves as a subcutaneous defibrillation electrode, used to defibrillate either the atria or ventricles. Other lead configurations and electrode locations may op course be substituted for the lead set illustrated. For example, atrial defibrillation and sensing electrodes might be added to either the coronary sinus lead or the right ventricular lead instead of being located on a separate atrial lead, allowing for a two-lead system.

FIG. 2 is a functional schematic diagram of an implantable pacemaker/cardioverter/ defibrillator in which the present invention may usefully be practiced. This diagram should be taken as exemplary of the type of device in which the invention may be embodied, and not as limiting, as it is believed that the invention may usefully be practiced in a wide variety of device implementations, including devices providing therapies for treating atrial arrhythmias instead of or in addition to ventricular arrhythmias, cardioverters and defibrillators which do not provide antitachycardia pacing therapies, antitachycardia pacers which do not provide cardioversion or defibrillation, and devices which deliver different forms of anti-arrhythmia therapies such nerve stimulation or drug administration.

The device is provided with a lead system including electrodes, which may be as illustrated in FIG. 1. Alternate lead systems may of course be substituted. If the electrode configuration of FIG. 1 is employed, the correspondence to the illustrated electrodes is as follows. Electrode 311 corresponds to electrode 11, and is the uninsulated portion of the housing of the implantable pacemaker/cardioverter/defibrillator. Electrode 320 corresponds to electrode 20 and is a defibrillation electrode located in the right ventricle. Electrode 310 corresponds to electrode 8 and is a defibrillation electrode located in the coronary sinus. Electrode 318 corresponds to electrode 28 and is a defibrillation electrode located in the superior vena cava. Electrodes 324 and 326 correspond to electrodes 24 and 26, and are used for sensing and pacing in the ventricle. Electrodes 317 and 321 correspond to electrodes 19 and 21 and are used for pacing and sensing in the atrium.

Electrodes 310, 311, 318 and 320 are coupled to high voltage output circuit 234. Electrodes 324 and 326 are coupled to the R-wave amplifier 200, which preferably takes the form of an automatic gain controlled amplifier providing an adjustable sensing threshold as a function of the measured R-wave amplitude. A signal is generated on R-out line 202 whenever the signal sensed between electrodes 324 and 326 exceeds the present sensing threshold.

Electrodes 317 and 321 are coupled to the P-wave amplifier 204. which preferably also takes the form of an automatic gain controlled amplifier providing an adjustable sensing threshold as a function of the measured R-wave amplitude. A signal is generated on P-out line 206 whenever the signal sensed between electrodes 317 and 321 exceeds the present sensing threshold. The general operation of the R-wave and P-wave amplifiers 200 and 204 may correspond to that disclosed in U.S. Pat. No. 5,117,824, by Keimel, et al., issued Jun. 2, 1992, for an Apparatus for Monitoring Electrical Physiologic Signals, incorporated herein by reference in its entirety.

Switch matrix 208 is used to select which of the available electrodes are coupled to wide band (0.5-200 Hz) amplifier 210 for use in digital signal analysis. Selection of electrodes is controlled by the microprocessor 224 via data/address bus 218, which selections may be varied as desired. Signals from the electrodes selected for coupling to bandpass amplifier 210 are provided to multiplexer 220, and thereafter converted to multi-bit digital signals by A/D converter 222, for storage in random access memory 226 under control of direct memory access circuit 228. Microprocessor 224 may employ digital signal analysis techniques to characterize the digitized signals stored in random access memory 226 to recognize and classify the patient's heart rhythm employing any of the numerous signal processing methodologies known to the art.

The remainder of the circuitry is dedicated to the provision of cardiac pacing, cardioversion and defibrillation therapies, and, for purposes of the present invention may correspond to circuitry known in the prior art. An exemplary apparatus is disclosed for accomplishing pacing, cardioversion and defibrillation functions as follows. The pacer timing/control circuitry 212 includes programmable digital counters which control the basic time intervals associated with DDD, VVI, DVI, VDD, AAI, DDI and other modes of single and dual chamber pacing well known to the art. Circuitry 212 also controls escape intervals associated with anti-tachyarrhythmia pacing in both the atrium and the ventricle, employing, any anti-tachyarrhythmia pacing therapies known to the art.

Intervals defined by pacing circuitry 212 include atrial and ventricular pacing escape intervals, the refractory periods during which sensed P-waves and R-waves are ineffective to restart timing of the escape intervals and the pulse widths of the pacing pulses. The durations of these intervals are determined by microprocessor 224, in response to stored data in memory 226 and are communicated to the pacing circuitry 212 via address/data bus 218. Pacer circuitry 212 also determines the amplitude of the cardiac pacing pulses under control of microprocessor 224.

During pacing, the escape interval counters within pacer timing/control circuitry 212 are reset upon sensing of R-waves and P-waves as indicated by signals on lines 202 and 206, and in accordance with the selected mode of pacing on time-out trigger generation of pacing pulses by pacer output circuits 214 and 216, which are coupled to electrodes 317, 321, 324 and 326. The escape interval counters are also reset on generation of pacing pulses, and thereby control the basic timing of cardiac pacing functions, including anti-tachyarrhythmia pacing.

The durations of the intervals defined by the escape interval timers are determined by microprocessor 224, via data/address bus 218. The value of the count present in the escape interval counters when reset by sensed R-waves and P-waves may be used to measure the durations of R--R intervals, P--P intervals, PR intervals and R-P intervals, which measurements are stored in memory 226 and used in conjunction with the present invention to diagnose the occurrence of a variety of tachyarrhythmias, as discussed in more detail below.

Microprocessor 224 operates as an interrupt driven device, and is responsive to interrupts from pacer timing/control circuitry 212 corresponding to the occurrences of sensed P-waves and R-waves and corresponding to the generation of cardiac pacing pulses. These interrupts are provided via data/address bus 218. Any necessary mathematical calculations to be per-formed by microprocessor 224 and any updating of the values or intervals controlled by pacer timing/control circuitry 212 take place following such interrupts. A portion of the memory 226 (FIG. 4) may be configured as a plurality of recirculating buffers, capable of holding series of measured intervals, which may be analyzed in response to the occurrence of a pace or sense interrupt to determine whether the patient's heart is presently exhibiting atrial or ventricular tachyarrhythmia.

The arrhythmia detection method of the present invention may include prior art tachyarrhythmia detection algorithms. As described below, the entire ventricular arrhythmia detection methodology of presently available Medtronic pacemaker/cardioverter/defibrillators is employed as part of the arrhythmia detection and classification method according to the disclosed preferred embodiment of the invention. However, any of the various arrhythmia detection methodologies known to the art, as discussed in the Background of the Invention section above might also usefully to be employed in alternative embodiments of the invention.

In the event that an atrial or ventricular tachyarrhythmia is detected, and an anti-tachyarrhythmia pacing regimen is desired, appropriate timing intervals for controlling generation of anti-tachyarrhythmia pacing therapies are loaded from microprocessor 224 into the pacer timing and control circuitry 212, to control the operation of the escape interval counters therein and to define refractory periods during which detection of R-waves and P-waves is ineffective to restart the escape interval counters. Alternatively, circuitry for controlling the timing and generation of anti-tachycardia pacing pulses as described in U.S. Pat. No. 4,577,633, issued to Berkovits et al on Mar. 25, 1986, U.S. Pat. No. 4,880,005, issued to Pless et al on Nov. 14, 1989, U.S. Pat. No. 7,726,380, issued to Vollmann et al on Feb. 23, 1988 and U.S. Pat. No. 4,587,970, issued to Holley et al on May 13, 1986, all of which are incorporated herein by reference in their entireties may also be used.

In the event that generation of a cardioversion or defibrillation pulse is required, microprocessor 224 employs the escape interval counter to control timing of such cardioversion and defibrillation pulses, as well as associated refractory periods. In response to the detection of atrial or ventricular fibrillation or tachyarrhythmia requiring a cardioversion pulse, microprocessor 224 activates cardioversion/defibrillation control circuitry 230, which initiates charging of the high voltage capacitors 246, 248 via charging circuit 236, under control of high voltage charging control line 240. The voltage on the high voltage capacitors is monitored via VCAP line 244, which is passed through multiplexer 220 and in response to reaching a predetermined value set by microprocessor 224, results in generation of a logic signal on Cap Full (CF) line 254, terminating charging. Thereafter, timing of the delivery of the defibrillation or cardioversion pulse is controlled by pacer timing/control circuitry 212. Following delivery of the fibrillation or tachycardia therapy the microprocessor then returns the device to cardiac pacing and awaits the next successive interrupt due to pacing or the occurrence of a sensed atrial or ventricular depolarization.

One embodiment of an appropriate system for delivery and synchronization of ventricular cardioversion and defibrillation pulses and for controlling the timing functions related to them is disclosed in more detail in commonly assigned U.S. Pat. No. 5,188,105 by Keimel, issued Feb. 23, 1993, and incorporated herein by reference in its entirety. If atrial defibrillation capabilities are included in the device, appropriate systems for delivery and synchronization of atrial cardioversion and defibrillation pulses and for controlling the timing functions related to them may be found in PCT patent application Ser. No. WO92/18198 by Adams et al., published Oct. 29, 1992, and in U.S. Pat. No. 4,316,472 by Mirowski et al., issued Feb. 23, 1982, both incorporated herein by reference in their entireties. In addition, high frequency pulse bursts may be delivered to electrodes 317 and 321 to terminate atrial tachyarrhythmias, as described in PCT Patent Publication No. WO95/28987, filed by Duffin et al and PCT Patent Publication No. WO95/28988, filed by Mehra et al, both incorporated herein by reference in their entireties.

However, any known cardioversion or defibrillation pulse control circuitry is believed usable in conjunction with the present invention. For example, circuitry controlling the timing and generation of cardioversion and defibrillation pulses as disclosed in U.S. Pat. No. 4,384,585, issued to Zipes on May 24, 1983, in U.S. Pat. No. 4,949,719 issued to Pless et al, cited above, and in U.S. Pat. No. 4,375,817, issued to Engle et al, all incorporated herein by reference in their entireties may also be employed.

In the illustrated device, delivery of the cardioversion or defibrillation pulses is accomplished by output circuit 234, under control of control circuitry 230 via control bus 238. Output circuit 234 determines whether a monophasic or biphasic pulse is delivered, whether the housing 311 serves as cathode or anode and which electrodes are involved in delivery of the pulse. An example of output circuitry for delivery of biphasic pulse regimens may be found in the above cited patent issued to Mehra and in U.S. Pat. No. 4,727,877, incorporated by reference in its entirety.

An example of circuitry which may be used to control delivery of monophasic pulses is set forth in commonly assigned U.S. Pat. No. 5,163,427, by Keimel, issued Nov. 17, 1992, also incorporated herein by reference in its entirety. However, output control circuitry as disclosed in U.S. Pat. No. 4,953,551, issued to Mehra et al on Sep. 4, 1990 or U.S. Pat. No. 4,800,883, issued to Winstrom on Jan. 31, 1989 both incorporated herein by reference in their entireties, may also be used in conjunction with a device embodying the present invention for delivery of biphasic pulses.

In modem implantable cardioverter/defibrillators, the particular therapies are programmed into the device ahead of time by the physician, and a menu of therapies is typically provided. For example, on initial detection of an atrial or ventricular tachycardia, an anti-tachycardia pacing therapy may be selected and delivered to the chamber in which the tachycardia is diagnosed or to both chambers. On redetection of tachycardia, a more aggressive anti-tachycardia pacing therapy may be scheduled. If repeated attempts at anti-tachycardia pacing therapies fail, a higher level cardioversion pulse may be selected thereafter. Therapies for tachycardia termination may also vary with the rate of the detected tachycardia, with the therapies increasing in aggressiveness as the rate of the detected tachycardia increases. For example, fewer attempts at anti-tachycardia pacing may be undertaken prior to delivery of cardioversion pulses if the rate of the detected tachycardia is above a preset threshold. The references cited above in conjunction with descriptions of prior art tachycardia detection and treatment therapies are applicable here as well.

In the event that fibrillation is identified, high frequency burst stimulation as discussed above may be employed as the initial attempted therapy. Subsequent therapies may be delivery of high amplitude defibrillation pulses, typically in excess of 5 joules. Lower energy levels may be employed for cardioversion. As in the case of currently available implantable pacemakers/cardioverter/defibrillators, and as discussed in the above-cited references, it is envisioned that the amplitude of the defibrillation pulse may be incremented in response to failure of an initial pulse or pulses to terminate fibrillation. Prior art patents illustrating such pre-set therapy menus of anti-tachyarrhythmia therapies include the above-cited U.S. Pat. No. 4,830,006, issued to Haluska, et al., U.S. Pat. No. 4,727,380, issued to Vollmann et al. and U.S. Pat. No. 4,587,970, issued to Holley et al.

As noted above, with each ventricular event, the timing of atrial and ventricular events occurring during the preceding two R--R intervals is analyzed to develop a "pattern code". FIG. 3 illustrates the various defined time intervals, employed to develop the pattern codes. Each of the two R--R intervals is divided into four zones, in which zone 1 encompasses the first 50 milliseconds following the ventricular event initiating the R--R interval, zone 2 extends from the end of zone 1 until halfway through the R--R interval. Zone 3 extends from halfway through the R--R interval to 80 milliseconds prior to the ventricular event ending the R--R interval and zone 4 includes the last 80 milliseconds of the R--R interval.

In order to determine the pattern codes, each individual R--R interval is assigned a "beat code", based on the number of occurrence of atrial events during the R--R interval, and their location with regard to the four defined zones. Three criteria are evaluated in order to assign each R--R interval with a beat code, including the number of atrial events occurring during the R--R interval, referred to as the "P count", the duration of the R-P interval associated with the R--R interval, and the duration of the P-R interval associated with the R--R interval. The R-P interval is the time in milliseconds from the beginning ventricular event in the RR interval to the first atrial event occurring within the interval, if any. The P-R interval is the time in milliseconds from the last atrial event in the R--R interval, if any, to the concluding ventricular event in the R--R interval. It should be noted that if multiple atrial events occur during the R--R interval, the sum of the R-P and P-R intervals will not equal the R--R interval. Based on the P count and the times of occurrence of the atrial depolarizations, a beat count of zero to nine is generated. The algorithm for generating the beat code is as follows.

If P count equals 1 and an atrial event occurs in zone 3, the beat code is zero. If P count equals 1 and the atrial event occurs in zone 1, the beat code is 1. If P count equals 1 and the atrial event occurs in zone 4, the beat code is 2. If P count equals 1 and the atrial event occurs in zone 2, the beat code is 3.

If P count equals 2, and an atrial event occurs in zone 3 but not zone 1, the beat code is 9. If P count equals 2 and an atrial event occurs in zone 3 and in zone 1, the beat code is 4. If P count equals 2 and atrial events occur in zones 1 and 4, the beat code is 5. All other R--R intervals containing two atrial events result in a beat code of 6.

If P count is greater than or equal to 3, the beat code is 8. If P count is equal to 0, the beat code is 7.

Given 10 beat codes, it would be expected that 100 corresponding pattern codes for two R--R interval sequences would be generated. However, the inventors have determined that the library of event patterns may usefully be reduced substantially, and have derived a set of 18 pattern codes as illustrated in FIG. 4. In the illustrations, two successive R--R intervals are illustrated, with downward extending lines indicative of ventricular events and upward extending lines indicative of atrial events. Zone 1 is illustrated as a short horizontal bar extending from the first ventricular event in each R--R interval. Zone 4 is illustrated as a short horizontal bar extending back from the last ventricular event in each R--R interval. A vertically extending dotted line is indicative of the dividing line between zone 2 and zone 3, halfway through the R--R interval, upwardly extending lines, coupled to the horizontal base line are indicative of atrial events occurring in the specific zone illustrated. Upwardly extending lines which float above the base line are indicative of atrial events that may occur in either of the two zones to which they are adjacent.

Pattern code A, corresponding to a beat code pair (0,0) is a pattern code sinus tachycardia.

Pattern code B, corresponding to beat code (0,7) arises, among other times, when a premature ventricular contraction occurs and is detected prior to the next atrial depolarization.

Pattern code C corresponds to beat code pairs (7,4) or (7,9), and arises, among other times, in the aftermath of isolated PVC'S.

Pattern code D, corresponding to beat code pairs (0,4) or (0,9) arises, among other times, when an isolated premature atrial contraction occurs, with no corresponding ventricular event.

Pattern code E, corresponding to beat code pairs (4,0) or (9,0) arises, among other times, in the aftermath of an isolated PAC, with resumption of normal sinus rhythm.

Pattern code F, corresponding to beat code pair (1,1) arises, among other times, during a junctional rhythm, with the atrial depolarizations being detected closely following depolarizations in the ventricles. It also arises in disassociated rhythms in which the atria and ventricles beat independently, but slightly out of phase.

Pattern code G, corresponding to beat code pair (2,2) arises, among other times, when a rhythm has a junctional origin, with ventricular depolarizations detected just slightly after atrial depolarizations. It also arises in disassociated rhythms in which atria and ventricle beat independently at close to the same rate, but slightly out of phase.

Pattern code H, corresponding to beat code pair (5,7) arises, among other times, in junctional rhythms in which atrial and ventricular depolarizations are sensed closely spaced to one another, but in no consistent time order.

Pattern code 1, corresponding to beat code pair (7,5) and pattern code J, corresponding to beat code pair (7,1) are both employed for recognition of AV nodal reentrant tachycardia.

Pattern code K, corresponding to beat code pair (2,7) arises, among other times during nodal rhythms, as well as ventricular tachycardia, ventricular fibrillation and ventricular flutter, but rarely, if at all, occurs in cases of atrial fibrillation.

Pattern code L, corresponding to beat code (0,2) occasionally arises in cases of dual tachycardia, in which the atria and ventricles are beating independently, but out of phase.

Pattern code M, beat code pair (2,0) also arises in these situations.

Pattern code N, corresponding to beat code pair (3,3) arises in cases of ventricular tachycardia with one to one retrograde conduction.

Pattern code O is a default pattern code, based on the failure of the pattern code to correspond to any of codes A-N, above, with the additional requirement that the P count for the first R--R interval is I and the P count for the second R--R interval is 2. This pattern code arises frequently in atrial fibrillation, among other rapid atrial rhythms. Pattern code P is also a default pattern code, designated if the beat code pair does not correspond to any of the beat code pairs designated in conjunction with pattern codes A-N, above, with a P count for the first R--R interval of 2 and a P count for the second R--R interval of 1.

Pattern code Q is a default pattern code assigned in response to beat code pairs which do not correspond to any of pattern codes A-N above, in which both P counts are 2. Like pattern codes O and P, this pattern code is indicative of atrial fibrillation, and/or rapid atrial rhythms.

Pattern Code Y is a default pattern code assigned to all beat code pairs not falling into any of previously defined pattern codes A-Q, in which there is at least one atrial event in each R--R interval, and the sum of the two P counts exceeds 3. Pattern code Z is a default pattern code assigned to all beat code pairs not corresponding to any of pattern codes A-Y above.

While the above rules appear to be complex, they may be very conveniently implemented by means of a look up table, as set forth in FIG. 5, which assigns each of the 100 possible beat code pairs to one of the designated pattern codes. By use of the look up table stored in memory, the microprocessor within the device can readily and rapidly determine the appropriate pattern code associated with each successive ventricular event. These pattern codes can be stored as numbers, as indicated in parentheses in FIG. 4, and their order analyzed by means of a software implemented continuous recognition machine to determine whether the sequences of pattern codes correspond to defined grammars corresponding to specific arrhythmias or groups of arrhythmias. The operation of the continuous recognition machines in order to accomplish this result is discussed in more detail, below. However, for purposes of understanding the general operation of the device, in conjunction with the functional flowcharts of FIG. 11, it need only be understood that the continuous recognition machines output a count indicative of the degree of correspondence of the sensed rhythm to the defined grammars for each arrhythmia, and that the rules for identifying the various arrhythmias include clauses setting forth criteria against which the output counts of the continuous recognition machines are compared.

Several of the rules employ continuous recognition machines implemented by the microprocessor, which applies sequences of pattern codes or beat codes, as they are generated with each ventricular event, to an associated look-up table. Each look up table defines a set of sequential states, indicated by bracketed numbers, beginning with the reset state [0], and a set of other defined states, arranged horizontally across the table. Possible pattern codes or beat codes are listed vertically. In operation, with each ventricular event, the processor determines its present state and the most recent pattern or beat code. Based on the table, the processor transitions to the next state, and awaits the next pattern or beat code. As long as the pattern or beat codes adhere to the defined grammar for the rhythm in question, the reset state is avoided. Adherence to the defined grammar over an extended sequence of beats is determined by means of a corresponding count, which may be incremented with each pattern or beat code adhering to the grammar, and may be reset to zero or decremented in response to pattern or beat codes which do not adhere to the grammar as indicated by a return to the reset state [0]. The current count for each continuous recognition machine is compared against a defined threshold value in one or more clauses, in one or more rules.

The continuous recognition machine for recognition of sinus tachycardia and normal sinus rhythm employs the look-up table of FIG. 6, using both a strict adherence to grammar (basic behavior) and less a less strict adherence to the grammar (exponential decay), with transitions between the two types of counter behavior defined according to the rules set forth below. The continuous recognition machine for sinus tachycardia and normal sinus rhythm employs a count, "CRMedST" which is incremented, up to a maximum count, e.g. 13, in response to each transition to a non-reset state (or in response to the first R--R interval after a power-on reset or other device reset, where the pattern code is unknown). On each ventricular event, all CRM counts are updated by the processor and compared against applicable recognition threshold values. The value of CRMedST is compared to its corresponding CRM threshold value, e.g. 6, in a clause of the rule for recognizing sinus tachycardia.

If the pattern code associated with the present beat resets the continuous recognition machine of FIG. 6, and the counter behavior is presently set to "basic behavior", CRMedST is reset to 0. If the pattern code associated with the present beat resets the continuous recognition machine of FIG. 6, and the counter behavior is presently set to "exponential decay", CRMedST is decremented by the CRMedST decrement amount. If after decrementing, CRMedST is then less than 0, the counter behavior is set to "basic behavior" and CRMedST is set to 0. If after decrementing, CRMedST is greater than 0, then the CRMedST decrement amount is set to either twice the present decrement amount or to the decremented value of CRMedST, whichever is less. By this mechanism, the amount of the decrement increases a factor of two with each successive failure to meet the pattern grammar, hence an exponential decay of the value of CRMedST with successive failures to meet pattern grammar.

If the pattern code associated with the present beat does not reset the continuous recognition machine of FIG. 6 or is unknown, the value of CRMedST is incremented by 1, up to the maximum of 13. If the CRMedST counter behavior is set to "basic behavior", and the incremented value of CRMedST is greater than or equal to the associated CRM threshold value, e.g. 6, then CRMedST counter behavior is set to "exponential decay" and the CRMedST decrement amount is set to 2. If the CRMedST counter behavior is set to "exponential decay", and the incremented value of CRMedST equals the maximum count the CRMedST decrement amount is set to 2.

FIG. 7 illustrates the look-up table employed in conjunction with the continuous recognition machine for recognizing beat code sequences corresponding to normal sinus rhythm or to sinus tachycardia in the presence of far field R-wave sensing in the atrium. The rules for incrementing and decrementing the associated count CRMedSTFR correspond to those for incrementing and decrementing the value of CRMedST, as discussed above.

If the beat code associated with the present beat resets the continuous recognition machine of FIG. 7, and the counter behavior is presently set to "basic behavior", CRMedSTFR is reset to 0. If the beat code associated with the present beat resets the continuous recognition machine of FIG. 7, and the counter behavior is presently set to "exponential decay", CRMedSTFR is decremented by the CRMedSTFR decrement amount. If after decrementing, CRMedSTFR is then less than 0, the counter behavior is set to "basic behavior" and CRMedSTFR is set to 0. If after decrementing CRMedSTFR is greater than 0, then the CRMedSTFR decrement amount is set to either twice the present decrement amount or to the decremented amount of CRMedSTFR, whichever is less.

If the beat code associated with the present beat does not reset the continuous recognition machine of FIG. 7 or is unknown, the value of CRMedSTFR is incremented by 1, up to the maximum count, e.g. 13. If the CRMedSTFR counter behavior is set to "basic behavior", and the incremented value of CRMedSTFR is greater than or equal to the associated CRM threshold value, e.g. 6, then CRMedSTFR counter behavior is set to "exponential decay" and the CRMedST decrement amount is set to 2. If the CRMedSTFR counter behavior is set to "exponential decay", and the incremented value of CRMedSTFR equals the maximum count the CRMedST decrement amount is set to 2.

FIG. 8 is a look-up table employed by the CRM used to detect the likely occurrence of atrial fibrillation or flutter. The Count associated with the CRM is designated "CRMAL". The value of CRMAL is employed in a clause of a rule for recognizing atrial fibrillation or flutter. This continuous recognition machine requires strict adherence to the pattern grammar. The value of CRMAL is incremented by one up to the maximum count, e.g. 13, in response to any pattern code that does not reset the continuous recognition machine, and is reset to 0 whenever the continuous recognition machine is reset.

FIG. 9 is a look-up table employed by the CRM used to detect the likely occurrence of atrial-ventricular nodal tachycardia. The Count associated with the CRM is designated "CRMAVNRT". The value of CRMAVNRT is employed in a clause of a rule for recognizing AV nodal reentrant tachycardia. The value of CRMAVNRT is incremented by one up to the maximum count, e.g. 13, in response to any pattern code that does not reset the continuous recognition machine, and is reset to 0 whenever the continuous recognition machine is reset.

In addition to adherence to the defined grammars as set forth above, the rules of the present invention also employ rate and interval based recognition criteria presently employed by the Medtronic Model 7219 implantable pacemaker/cardioverter/defibrillator. These criteria are discussed in detail in U.S. Pat. No. 5,342,402, issued to Olson, incorporated herein by reference in its entirety. These criteria are also discussed below.

Presently available pacemaker-cardioverter-defibrillator devices, such as the Model 7219 PCD devices available from Medtronic, Inc., employ programmable fibrillation interval ranges and tachycardia detection interval ranges. In these devices, the interval range designated as indicative of fibrillation consists of intervals less than a programmable interval (VFDI) and the interval range designated as indicative of ventricular tachycardia consists of intervals less than a programmable interval (VTDI) and greater than or equal to VFDI. R--R intervals falling within these ranges are measured and counted to provide a count (VTEC) of R--R intervals falling within the ventricular tachycardia interval range and a count (VFEC) of the number intervals, out of a preceding series of a predetermined number (FEB) of intervals, which fall within the ventricular fibrillation interval range. VTEC is incremented in response to R--R intervals that are greater than or equal to VFDI but shorter than VTDI, is reset to zero in response to intervals greater than or equal to VTDI and is insensitive to intervals less than VFDI. VTEC is compared to a programmed value (VTNID) and VFEC is compared to a corresponding programmable value (VFNID). When one of the counts equals its corresponding programmable value, the device diagnoses the presence of the corresponding arrhythmia, i.e. tachycardia or fibrillation and delivers an appropriate therapy, e.g. anti-tachycardia pacing, a cardioversion pulse or a defibrillation pulse. In addition, the physician may optionally require that the measured R--R intervals meet a rapid onset criterion before VTEC can be incremented and can also optionally require that should a rate stability criterion fail to be met, VTEC will be reset to zero. If the device is further programmed to identify the occurrence of a fast ventricular tachycardia, detection of ventricular fibrillation or tachycardia according to the above method serves as a provisional detection, which may be modified, as discussed below. An exemplary set of parameters might be VFDI=320 ms, VFNID=18/24 preceding intervals, VTDI=400 ms, VTNID=16 intervals.

In addition to the tachycardia and fibrillation detection criteria (VTEC>=VTNID, VFEC>=VFNID) discussed above, detection of tachycardia or fibrillation detection may also be optionally accomplished using a combined count of all intervals indicative of tachycardia or fibrillation. This combined count (VFEC+VTEC) is compared to a combined count threshold (CNID). If VTEC+VFEC is equal or -greater than CNID, the device checks to see whether VFEC is at least a predetermined number (e.g. 6). If so, the device checks to determine how many of a number (e.g. 8) of the immediately preceding intervals are greater or equal to VFDI. If a predetermined number (e.g. 8) are greater than or equal to VFDI, tachycardia is detected, otherwise ventricular fibrillation is detected. If the device is further programmed to identify the occurrence of a fast ventricular tachycardia, detection of ventricular fibrillation or tachycardia according to the above method serves as a provisional detection, which may be modified, as discussed below.

In addition, the model 7219 PCD is provided with a method of distinguishing a fast ventricular tachycardia from either ventricular fibrillation or slow ventricular tachycardia. In conjunction with fast ventricular tachycardia detection, the physician determines whether detection of a fast ventricular tachycardia is to be accomplished following a provisional diagnosis of ventricular tachycardia, following a provisional diagnosis of ventricular fibrillation, or following either. If detection of fast ventricular tachycardia is enabled, then following provisional detection of ventricular tachycardia or fibrillation, as discussed above, the immediately preceding measured intervals are examined to determine whether the provisional detection of fibrillation or tachycardia should be confirmed or amended to indicate detection of fast ventricular tachycardia.

If fast ventricular tachycardia detection following a provisional detection of ventricular tachycardia is enabled, a value VFTDImax is defined, which is greater than or equal to VFDI. If-fast ventricular tachycardia detection following a provisional detection of ventricular fibrillation is enabled, a value VFTDImin,, is defmed, which is less than or equal to VFDI. If ventricular tachycardia is provisionally detected, intervals less than VFTDImax are taken as indicative of fast ventricular tachycardia. If ventricular fibrillation is provisionally detected, intervals greater than or equal to VFTDImin. are taken as indicative of fast ventricular tachycardia.

If fibrillation was provisionally detected, the device may require that at least 7 or all 8 of the preceding 8 intervals fall within the fast ventricular tachycardia interval range (greater than or equal to VFTDImin) to detect fast ventricular tachycardia. Otherwise, the provisional detection of ventricular fibrillation is confirmed. If ventricular tachycardia is provisionally detected, the device may only require that at least 1 or 2 of the preceding 8 intervals fall within the fast ventricular tachycardia interval range (less than VFTDImax in order to detect fast ventricular tachycardia. Otherwise, the provisional detection of (slow) ventricular tachycardia is confirmed.

The entire arrhythmia detection methodology of the Model 7219 PCD is not retained in the disclosed embodiment of the present described criteria for above described criteria for detecting fast ventricular tachycardia are not employed, with the criteria for detecting ventricular tachycardia and ventricular fibrillation employed as the two lowest priority rules for triggering delivery of ventricular anti-tachyarrhythmia therapies. However, the fast tachycardia recognition criteria described above could readily be added if desired, in which case, the criteria for detection of ventricular fibrillation, fast ventricular tachycardia and ventricular tachycardia according to this methodology would comprise the three lowest priority rules employed for detection of ventricular tachyarrhythmia.

The arrhythmia detection and classification scheme of the present invention also employs a measurement of R--R interval variability, as disclosed in U.S. Pat. No. 5,330,508 issued to Gunderson and incorporated herein by reference in its entirety. R--R interval variability is measured by the processor sorting the 12-18 previous measured R--R intervals into bins in RAM, each bin being 10 ms in width, spanning the range of 240 ms through 2019 ms. The sum (RR Modesum) of the numbers of intervals in the two bins individually having the highest numbers of intervals is calculated and compared against preset threshold values. The higher the value of RR Modesum, the lower the variability of RR intervals, and the more likely the rhythm is a monomorphic ventricular tachycardia. The RR Modesum is compared against various threshold values in clauses of rules for detecting ventricular tachycardia, ventricular tachycardia in the presence of supraventricular tachycardia, atrial fibrillation or flutter, and AV nodal reentrant tachycardia. A buffer of 18 measured intervals is also provided in RAM. Intervals less than 240 ms do not appear in the bins, but are loaded in the buffer. Following detection initialization or power on reset, the buffer is cleared, and thereafter intervals are entered in the buffer. If fewer than 12 intervals are in the buffer, the value of RR Modesum is defined as "unknown". If 12 or more intervals are in the buffer, RR Modesum is equal to the fraction defined by the number of intervals stored in the buffer residing in the two bins having the highest numbers of intervals divided by the number of intervals in the buffer. For example, if the RR Modesum threshold is set at 0.75, then RR Modesums of 9/12, 12/16, 14/18, etc. would meet the threshold.

In conjunction with the operation of rules intended to identify the likely occurrence of ventricular and supraventricular tachycardia, the microprocessor also keeps track of the number of R--R intervals which likely contain sensed atrial events caused by far field R-waves, out of a preceding series of R--R intervals. If an R--R interval is determined likely to contain a far field R-wave, the Far Field R-wave Criterion is met for that R--R interval. The microprocessor determines that an event sensed in the atrium is likely a far field R-wave, according to the following methodology.

The microprocessor maintains a Far RP buffer in RAM containing the eight most recent R-P intervals less than 160 ms and a Far PR buffer containing the eight most recent P-R intervals less than 60 ms. In response to the occurrence of R--R interval having a P count equal to 2, the R-P and P-R intervals for the R--R interval are compared to fixed thresholds. For example, the processor may check to determine whether the P-R interval is less than or equal to 60 milliseconds or whether the R-P interval is less than or equal to 160 milliseconds. It should be kept in mind that in conjunction with an R--R interval having a P count of 2, the R-P interval is measured between the ventricular event initiating the R--R interval and the first occurring atrial event and the P-R interval is measured between the second to occur atrial event and the ventricular event ending the R--R interval.

If the P-R interval is less than or equal to 60 milliseconds, the processor subtracts the shortest P-R interval (PRmin) in the Far PR buffer from the longest (PRmax). If the value of the difference is less than or equal to 30 milliseconds, the processor compares the P--P interval between the two atrial events during the R--R interval under consideration with the P--P interval separating the first atrial event in the R--R interval in consideration from the last atrial event in the proceeding R--R interval. If the difference between these two values is greater than or equal to 30 milliseconds, the processor subtracts the current P-R interval from the average (PRave) of the P-R intervals in the buffer. If the absolute value of the difference is less than a defined Far R Stability value, e.g. 20 ms, the R--R interval under consideration likely includes a far field R-wave and the Far Field R-Wave Criterion is met.

Similarly, if the measured R-P interval in the R--R interval under question is less than or equal to 160 milliseconds, the processor subtracts the, shortest (RPmin) of the eight R-P intervals in the Far RP buffer from the longest (RPmax) R-P interval in the buffer if the difference is less than or equal to 50 ms, the processor compares the P--P interval in the R--R interval under question with the P--P interval separating the final atrial event of the preceding R--R interval to the first atrial event of the R--R interval under question. If, as discussed above, the difference between the two PP intervals is greater than or equal to 30 milliseconds, the processor subtracts the current R-P interval from the average (RPave) of the R-P intervals in the buffer. If the absolute value of the difference is less than the Far R Stability value, the R--R interval under consideration likely includes a far field R-wave and the Far Field R-Wave Criterion is met.

The processor keeps track of the number of R--R intervals out of a preceding series of intervals (e.g., 12 intervals) which likely contain a far field R wave. This number (Far R Counter) is compared to a threshold value (Far R Threshold, e.g., 10) to determine whether it is likely that a heart rhythm which appears to have a high atrial rate is in fact the result of far field R-wave sensing.

FIG. 10 illustrates the basic operation of a device according to the present invention, in response to the occurrence of atrial and ventricular events. In response to an atrial ventricular event at 100, the type of event is stored, and also a number of counts and values referred to above are updated. In particular, in response to an atrial or ventricular event, the processor stores information as to the P count, i.e. the number of atrial events received since the last ventricular event, and an R count, i.e. the count of the number of ventricular events received since the last atrial event, and R--R, R-P, P--P and P-R intervals, as appropriate. The processor maintains buffers in the RAM, in which the following information is stored: the 12 most recent P--P intervals are stored, the 12 most recent R--R intervals are stored, the 8 immediately preceding R-P intervals, the 8 most recent P-R interval values, and the times of occurrence of atrial and ventricular events over the preceding 12 R--R intervals, employed in conjunction with the detection of far field R waves, as discussed above. In addition, the processor also maintains a memory buffer of the bin indexes for the preceding 18 R--R intervals, as described above in conjunction with the computation of the RR Modesum value and a buffer containing the number of RR intervals over the preceding sequence of a programmable number of R--R intervals, which have durations less than FDI, as discussed above in conjunction with the detection criterion adapted from the Model 7219 PCD device.

At 102, the processor updates all timing based features associated with the occurrence of atrial and ventricular events, including all computations necessary to update the buffers described above, computation of all timing based values associated with the Model 7219 detection criteria described above, including updating of the value of VTEC, VFEC, the onset and stability counters, as well as updating the RR Modesum value as described above, computation of the median values of the 12 preceding stored R--R interval durations, computation of the median value of the stored preceding 12 P--P intervals and R--R intervals, as appropriate, and in the case of a ventricular event, updates the beat code for the R--R interval ending with the ventricular event.

In addition to these functions, in response to the occurrence of a ventricular event, the processor at 103 computes the corresponding pattern code, as described above, associated with the R--R interval ending with the ventricular event and at 104 updates the continuous recognition machine counters, as described above and the other diagnostic criteria described below in conjunction with the various rules. The processor now has stored in RAM all information necessary to apply the hierarchical set of rules used to identify the particular type of rhythm under way.

At 105, 106, 107, the processor determines which of the various available rules have all of their respective clauses satisfied. As discussed above, one, more than one, or no rules may have their causes all satisfied. If more than one rule is true or "fires", the rule of highest priority is selected at 108, leading to a rhythm classification corresponding to that rule at 109. In response to the classification of the rhythm, the device delivers therapy or prevents delivery of therapy, depending upon the rhythm identified. In the absence of any rules being identified, the device withholds anti-tachycardia therapy. If the device is programmed to provide bradycardia backup pacing, it continues to do so. If not, the device simply continues to monitor the rhythm of the heart, until one or more rules fire.

In the context of the specific embodiment disclosed herein, several possible rhythm classifications are provided by the rule set. These include ventricular fibrillation, ventricular tachycardia, simultaneous ventricular and supraventricular tachycardia, simultaneous ventricular fibrillation and supraventricular tachycardia, atrial fibrillation or flutter, sinus tachycardia, AV nodal re-entrant tachycardia, normal sinus rhythm or "unclassified" rhythms, when no rules are "firing".

In conjunction with the present invention, 12 separate rules are employed to identify the various rhythm types listed above. These rules are in order of priority.

1. VF+SVT Rule

2. VT+SVT Rule

3. A Flutter Rule

4. A Fibrillation Rule

5. ST Rule

6. AVNRT Rule

7. NSR Rule

8. VT* Rule

9. VF Rule-7219

10. VT Rule-7219

11. Sustained AF Rule

12. Sustained AT Rule

Of the above rules, the A Flutter Rule, the A Fibrillation Rule, the ST Rule, the AVNRT Rule and the NSR Rule all prevent delivery of ventricular anti-tachyarrhythmia therapies. The VF+SVT rule, the VT+SVT rule, the VT* Rule, the VF Rule-7219 and the VT Rule-7219 all trigger delivery of ventricular anti-tachyarrhythmia therapies. The Sustained AF-Rule and the Sustained AT Rule trigger delivery of atrial anti-arrhythmia therapies. As such, the hierarchical structure of the rule base is such that the five lowest priority rules are provided for triggering therapy, superseded by five intermediate priority rules for inhibiting delivery of anti-tachyarrhythmia therapy, which in turn are superseded by two high priority rules, triggering delivery of anti-tachycardia therapy. This hierarchical rule structure is believed to be unique in the context of automated devices for triggering delivery of anti-tachycardia therapies.

FIG. 11 illustrates the prioritization of the various rules, in the form of a flowchart. In response to occurrence of an R-wave at 600, each rule is examined by the processor, in order of the priority listed above until one is met. If the first rule met is the VF+SVT Rule or VT+SVT Rule at 602 or 604, VF therapy or VT therapy is delivered at 628 or 630, and delivery of atrial anti-arrhythmia therapies is prevented. If one of the rules which prevents treatment of ventricular tachyarrhythmias is met at 606, 608, 610, 612 or 614, the processor examines whether the Sustained AF Rule or Sustained AT Rule is the first rule met at 622 and 624. If one of these rules is met, AF therapy or AT therapy is delivered at 632 or 634. If no rules preempting ventricular therapies are met the processor examines whether the rules at 616, 618 or 620 are met, and if so triggers delivery of VF or VT therapy at 628 or 630, preventing delivery of AF or AT therapy. Similarly, if no rules preventing or triggering ventricular anti-tachyarrhythmia therapy are met, the processor determines whether the Sustained AF Rule or the Sustained AT Rule is the first rule met at 622 and 624 and if so triggers delivery of the appropriate therapy at 628 or 630. The specific rules and their individual clauses are described in detail below, illustrating the interrelation of the various timing based and pattern based criteria described above.

1. VF+SVT Rule

The VF+SVT Rule is the highest priority rule employed by the device, and detects the simultaneous presence of VF and SVT. If it is met, it triggers delivery of the next scheduled ventricular fibrillation therapy, typically a high voltage defibrillation pulse. This rule has five clauses and is set true, or "fires" when all five clauses are satisfied. The first clause requires that ventricular fibrillation detection is programmed on and that any of rules 3-7 for preventing delivery of ventricular anti-tachyarrhythmia therapies has also been programmed on and that VFEC is greater or equal to VFNID, as discussed in conjunction wit-the VF detection criteria employed with the Model 7219 discussed above. The second clause requires that the median value for the preceding 12 R--R intervals (RR median) is less than a preset minimum cycle length. This minimum cycle length may be VTDI, if VT detection is programmed on or may be VFDI, if VT detection is programmed off, or may be an interval separately programmable by the physician, or defined as a fixed value within the device. The third clause requires that the median value for the preceding 12 R--R intervals is greater than a preset SVT Minimum Cycle Length. This SVT Minimum Cycle Length must be less than VTDI, if VT detection is programmed on and must be greater than VFDI, if VT detection is programmed off and may be an interval separately programmable by the physician in conjunction with programming of VTDI or VFDI.

The fourth clause employs an AF* Evidence Counter Criterion which supports or refutes the presence of atrial fibrillation using an up-down counting algorithm performed by the processor, which increments or decrements an AF* Evidence Counter based on atrial and ventricular pattern information. The AF* Evidence Counter Criterion will be met when the AF* Evidence Counter is greater than or equal to a predefined AF* Score Threshold, e.g. 6. Once the AF/AT Evidence Counter Criterion is met, it will remain satisfied as long as the AF* Evidence Counter is greater than or equal to a predefined AF* Score Hysteresis Threshold, e.g. 5. The fourth clause continues to be met as long as the AF* Counter Criterion continues to be met.

The AF* Evidence Counter is incremented and decremented as follows. If the number of atrial events or P count in the current R--R interval is 1 and the current beat code is the same as the previous beat code, the AF* Evidence Counter is decremented by 1, down to a minimum of 0. If the number of atrial events is 1 but if the beat codes are different the AF* Evidence Counter remains unchanged. If the number of atrial events in the current R--R interval is greater than 2, then the AF* Evidence Counter is incremented by 1, up to an AF* Score Maximum value, e.g. 10. If the number of atrial events in the current R--R interval is 2 and the current beat code and the previous beat code are the same and the Far Field R-Wave criterion discussed above is met for the preceding RR interval, the AF* Evidence count remains unchanged. Otherwise the AF* Evidence Counter is incremented by 1, up to the AF* Maximum Score value.

The fifth and final clause of the rule employs an AV Dissociation Count Criterion implemented by the processor, which defines an AV Dissociation Count, which is the number of a preceding series of R--R intervals, e.g. 8 R--R intervals, which meet an AV Dissociation Criterion. The AV Dissociation Criterion is met if there are no paced or sensed atrial events in the current R--R interval or the absolute value of the difference between the current P-R interval and the average of the previous 8 P-R intervals is greater than 40 ms. The AV Dissociation Count Criterion is met when the AV Dissociation Count is greater than or equal to a defined AV Dissociation Count Threshold, e.g. 4. When the AV Dissociation Count Criterion is met, the fifth clause is satisfied.

If all of these clauses are satisfied, the rule is set true and "fires" triggering delivery of the next scheduled ventricular fibrillation therapy. Firing of the VF+SVT rule supersedes firing of any other rules

2. VT+SVT Rule

The second highest priority rule is intended to identify the simultaneous occurrence of ventricular tachycardia and supraventricular tachycardia. This rule contains six clauses, all of which must be satisfied in order for the rule to be set true or "fire". The first clause requires that ventricular tachycardia detection be enabled, and that the value of VTEC be greater than or equal to VTNID (as discussed above in conjunction with the Model 7219 detection criteria). The second clause requires that the AF* Evidence Counter Criterion as discussed above is met. The third clause requires that the AV Dissociation Count Criterion discussed above is met. The fourth clause requires that the RR median is less than VTDI. The fifth clause requires that the RR median is greater than the SVT Minimum Cycle Length discussed above. The sixth and final clause requires that the RR Modesum as described above is either unknown or greater than a defined VT Plus RR Modesum Threshold, e.g. 0.75 of the preceding 12-18 R--R intervals.

If all of these clauses are satisfied, the rule is set true and "fires" triggering delivery of the next scheduled ventricular tachycardia therapy. Firing of the VT+SVT rule supersedes firing of any other rules, with the exception of the VF+SVT rule, described above.

SVT Rejection Rules

The SVT rejection rules 3-7 cannot be applied if unless VT detection is Programmed on, there have been at least enough intervals since initialization of detection to fill the RR buffer, e.g. 12, and the RR median is greater than the SVT Minimum Cycle Length. The rules also have the following sets of additional clauses.

3. A Flutter Rule

Due to the importance of distinguishing rapid ventricular rhythms due to atrial fibrillation or flutter from tachycardias of ventricular origin, two separate rules are provided for identifying the likely occurrence of atrial fibrillation or flutter (or other atrial tachycardia). The first of these two rules has two clauses which must be satisfied in order for the rule to be met. The first clause requires that the value of CRMAL is greater than or equal to its corresponding recognition threshold, e.g. 6. The second clause requires that the Far Field R-Wave Count Criterion is met. The Far Field R-Wave Count Criterion is met when the Far Field R-Wave Count is less than a defined Far Field R-Wave Count Threshold, e.g. 10 of the preceding 12 R--R intervals. If both clauses are met, the rule is set true or "fires". If this is the highest priority firing rule, delivery of ventricular anti-tachyarrhythmia therapy is prevented even if lower priority ventricular tachycardia or ventricular fibrillation rules are met while the rule is firing.

The A Flutter Rule is a "sticky" rule, meaning that when met, it remains met unless its clauses remain unsatisfied over a sequence of RR intervals. The processor accomplishes this result by setting an associated AF Rejection Sticky Count to a predefined value, e.g. 6 whenever the rule is met. For each R--R interval for which either the first or second clause is not met, the Sticky Count is decremented by 1 to a minimum of 0. The rule continues to fire as long as the Sticky Count remains above 0.

4. A Fibrillation Rule

The second rule directed toward detection of the occurrence of atrial fibrillation or flutter (or other atrial tachycardia) has four clauses which must be met. The first clause requires that the Far Field R-Wave Count Criterion, discussed above, is met. The second clause requires that the median value of the P--P interval, over the preceding 12 R--R intervals be known, and that it be less than a preset value, e.g. 87.5% of the corresponding RR median value, over the preceding 12 intervals. The third clause requires that AF* Evidence Counter Criterion is satisfied, as discussed above. The fourth clause requires that the RR Modesum is less than or equal to a defined AF Modesum Threshold, e.g. 0.5 of the previous 12-18 intervals. If all four clauses of the rule are satisfied, the rule is set true or "fires". If this rule is the highest firing priority rule, delivery of ventricular anti-tachyarrhythmia therapies is prevented.

The A Fibrillation Rejection Rule is a "sticky" rule, meaning that when met, it remains met unless its clauses remain unsatisfied over a sequence of RR intervals. The processor accomplishes this result by setting an associated AFib Rejection Sticky Count to a predefined value, e.g. 6 whenever the rule is met. For each R--R interval for which any of the four clauses are not met, the Sticky Count is decremented by 1 to a minimum of 0. The rule continues to fire as long as the Sticky Count remains above 0. The Sticky Count is reset to 0 on initialization of detection and whenever a higher priority SVT rejection rule is satisfied.

5. ST Rule

This rule is directed toward recognition of sinus tachycardia, and includes three clauses, of which either the first clause or the second and third clauses must be met in order for the rule to fire. The clause requires that CRMedST exceed its corresponding recognition threshold, e.g., 6. If this clause is satisfied, the rule fires. The second clause requires that the Far Field Counter Criterion discussed above be met. The third clause requires that the CRMedSTFR exceed its corresponding recognition threshold, e.g. 6. If the second and third clauses are satisfied, the rule fires. If the ST Rule is the highest priority rule firing, delivery of anti-tachycardia therapies is prevented.

The ST rule is a "sticky" rule, meaning that when met, it remains met unless its clauses remain unsatisfied over a sequence of RR intervals. The processor accomplishes this result by setting an associated Sinus Rejection Sticky Count to a predefined value, e.g. 6 whenever the rule is met. For each R--R interval for which either the first clause is not met or for which one or both of the second and third clauses is not met, the Sticky Count is decremented by 1 to a minimum of 0. The rule continues to fire as long as the Sticky Count remains above 0. The Sticky Count is reset to 0 on initialization of detection and whenever a higher priority SVT rejection rule is satisfied.

6. AVNRT Rule

This rule is directed toward detection of AV nodal re-entrant tachycardia. The rule includes two clauses, each of which must be satisfied in order for the rule to fire. The first clause requires that CRMAVNRT exceed its corresponding threshold value, e.g. 6. The second clause require that RR Modesum is greater than or equal to a defined AVNRT Modesum Threshold, e.g. 0.25 of the preceding 12-18 R--R intervals. If both clauses are satisfied, the rule is set true or "fires". If it is the highest priority firing rule, it prevents delivery of ventricular anti-tachycardia therapies.

The AVNRT Rule is a "sticky" rule, meaning that when met, it remains met unless its clauses remain unsatisfied over a sequence of RR intervals. The processor accomplishes this result by setting an associated AVNRT Sticky Count to a predefined value, e.g. 6 whenever the rule is met. For each R--R interval for which either the first or second clause is not met, the Sticky Count is decremented by 1 to a minimum of 0. The rule continues to fire as long as the Sticky Count remains above 0. The Sticky Count is reset to 0 on initialization of detection and whenever a higher priority SVT rejection rule is satisfied.

7. NSR Rule

This rule is directed toward detection of a normal sinus rhythm, and includes three clauses of which either the first clause or the second and third clauses must be met in order for the rule to fire. The clause requires that CRMedST exceed its corresponding recognition threshold, e.g., 6. If this clause is satisfied, the rule fires. The second clause requires that the Far Field Counter Criterion discussed above be met. The third clause requires that the CRMedSTFR exceed its corresponding recognition threshold, e.g. 6. If the second and third clauses are satisfied, the rule fires. If the ST Rule is the highest priority rule firing, delivery of anti-tachycardia therapies is prevented.

The ST rule is a "sticky" rule, meaning that when met, it remains met unless its clauses remain unsatisfied over a sequence of RR intervals. The processor accomplishes this result by setting an associated Sinus Rejection Sticky Count to a predefined value, e.g. 6 whenever the rule is met. For each R--R interval for which either the first clause is not met or for which one or both of the second and third clauses is not met, the Sticky Count is decremented by 1 to a minimum of 0. The rule continues to fire as long as the Sticky Count remains above 0. The Sticky Count is reset to 0 on initialization of detection and whenever a higher priority SVT rejection rule is satisfied.

The next three rules are ventricular fibrillation and tachycardia detection rules which trigger delivery of ventricular anti-tachyarrhythmia therapies.

8. VT* Rule

The VT* Rule discriminates fast VT with regular cycle lengths from VF. This rule has three clauses which must be satisfied, in order for the rule to be set true. The first clause simply requires that VF detection and VT detection are enabled and that the model 7219 VF detection criteria are met, i.e. VFEC is greater than or equal to VFNID. The second clause requires that RR median is greater than or equal to the Fast VT Minimum Cycle length, discussed above. The third clause requires that the VT* RR Modesum Criterion is satisfied. The VT* RR Modesum Criterion is satisfied when RR Modesum is either unknown or greater than or equal to the a defined Fast VT Modesum Threshold, e.g. 0.75 of the preceding 12-18 R--R intervals.

9. VF Rule-7219

This rule corresponds to the detection criteria for ventricular fibrillation as set forth above in conjunction with the description of the Model 7219 device. If VF is detected using these criteria, the rule is set true and "fires" if it is the highest firing rule, it triggers delivery of the next scheduled ventricular fibrillation therapy.

10. VT Rule-7219

This rule simply restates all the ventricular tachycardia detection criteria provided in the Model 7219 device, as discussed above, with detection of fast ventricular tachycardia disabled. In the event that this rule is the highest firing rule, it triggers delivery of the next scheduled VT therapy.

In conjunction with above rule set, it should be understood that in the event that a rule triggering delivery of a ventricular tachycardia therapy fires, subsequent firing of a rule indicative of the occurrence of a supraventricular tachycardia cannot occur, as the pattern grammar, and/or other timing criteria cannot possibly be met after initiation of anti-tachycardia therapy. However, it is certainly possible for a rule indicating the occurrence of a ventricular tachyarrhythmia to fire while a rule indicative of the occurrence of a supraventricular tachycardia is firing. In such case, the highest priority firing rule dominates. It should also be understood that rules 1-8 above are "sticky" rules, meaning that once a rule has fired, it will continue to fire until one or more clauses of the rule are not satisfied for a sequence of a predetermined number of R--R intervals. A nominal value for this predetermined number of R--R intervals is three, however, it is envisioned that the parameter may be programmable by the physician. This feature is intended to prevent a temporary violation of one of the clauses of a rule, for one or two beats, to override the firing of the rule. This is particularly important in the context of the rules intended to detect the likely occurrence of atrial tachycardias, where a one or two beat failure of the rule to be met could well result in the delivery of a ventricular anti-tachycardia therapy, in conjunction with the firing of a lower priority VT or VF detection rule, resulting in inappropriate delivery of ventricular anti-tachycardia therapy.

11 and 12. Sustained AF and Sustained AT rules.

In conjunction with a preferred embodiment of the invention, rules for triggering delivery of anti-arrhythmia therapies in response to detected sustained atrial fibrillation and/or sustained atrial tachycardia are also included. These rules are interrelated in operation and so are discussed together. Both rules cannot be met simultaneously. In conjunction with these rules, an additional set of defined parameters is employed. The additional parameters include an atrial fibrillation detection interval (AFDI), which may be for example 150-300 ms, an atrial tachycardia detection interval (ATDI), which may be, for example, up to 450 ms, but in any case greater than AFDI, and a minimum atrial tachycardia interval (AT Minimum Interval), which may be for example 100-300 ms, but in any case less than ATDI. These parameters, and others, are used by the processor in conjunction with an additional set of diagnostic criteria, as set forth below.

A first criterion, associated with detection of atrial fibrillation is the AF Rate Zone Criterion. This criterion in turn is based upon two measured characteristics of the heart rhythm, including the median interval separating preceding atrial depolarizations (PP Median) and the regularity of the atrial cycle length (Cycle Length Regularity Counter Criterion). On each ventricular event, the buffer containing the previous 12 atrial cycle lengths will be examined to determine the median P--P interval and to determine regularity. The atrial cycle lengths are classified as being regular on a given ventricular event if the difference between the second to longest and the second to shortest atrial cycle length in the buffer is less than or equal to the PP Median divided by 4. The Atrial Cycle Length Regularity criterion will be satisfied if the atrial cycle length regularity condition is met on 6 of the most recent 8 ventricular events. The AF Rate Zone Criterion is satisfied when the PP Median is less than the programmed AFDI if Sustained AT detection is programmed off. If Sustained AT detection is programmed on then the AT Rate zone Criterion is met when the PP Median is less than the programmed AFDI, and either the PP Median is less than the programmed AT Minimum Interval or the Cycle Length Regularity Counter Criterion is not satisfied.

A second criterion, associated with detection of atrial tachycardia is the AT Rate Zone Criterion. The AT Rate Zone criterion uses the PP Median and the Atrial Cycle Length Regularity Criterion to identify AT and to discriminate it from AF. The AT Rate Zone Criterion is satisfied when the PP Median is less than the programmed ATDI and greater than or equal to the programmed AFDI, or when the PP Median is less than AFDI but greater than or equal to the programmed AT Minimum Interval and the Atrial Cycle Length Regularity Counter Criterion is satisfied.

A third criterion, associated with detection of both AF and AT is the AF/AT Evidence Counter Criterion which supports or refutes the presence of an atrial arrhythmia using an up-down counting algorithm which increments or decrements an AF/AT Evidence Count based on atrial and ventricular pattern information. The AF/AT Evidence Counter Criterion will be met when the AF/AT Evidence count is greater than or equal to a predefined AF/AT Score Threshold, e.g. 32. Once the AF/AT Evidence Counter criterion is met, it will remain satisfied as long as the AF/AF Evidence count is greater than or equal to a predefined AF/AT Score Hysteresis Threshold, e.g. 27.

In conjunction with the AF/AT evidence Counter Criterion, several additional characteristics of the heart's rhythm are monitored. One additional monitored characteristic is the Sinus Rhythm Counter Criterion, which identifies regular sinus rhythm with 1:1 conduction or a paced rhythm. The Sinus Rhythm Counter (SR Counter) is be affected by the beat code as defined above, as follows. If the beat code is 0,1 is added to the SR Counter up to a maximum of 255. Otherwise the SR Counter is set to 0. The Sinus Rhythm Counter Criterion will be satisfied when the SR Counter is greater than or equal to a predefined the AF Reset Count Threshold, e.g. 5. The Sinus Rhythm Counter Criterion is suspended while a therapy operation is in progress. The SR Counter is set to zero when detection is initialized.

Also employed in conjunction with the AT/AF Evidence counter is the Sinus Rhythm with Far Field R-wave Criterion, which identifies sinus rhythm in the presence of far field R-waves. On each ventricular event a Sinus Rhythm with Far Field R-wave Counter will be updated as follows. If the Far Field R-wave criterion discussed above is satisfied for the current RR interval and the current ventricular beat code is 9,4 or 6,1 is added to the Sinus Rhythm with Far Field R-wave Counter up to a maximum of 255. Otherwise the Sinus Rhythm with Far Field R-wave Counter is reset to 0. The Sinus Rhythm with Far Field R-wave Counter Criterion is satisfied when the Sinus Rhythm with Far Field R-wave counter is greater than or equal to the AF Reset Count Threshold. The Sinus Rhythm with Far Field R-wave Counter Criterion is suspended while a therapy operation is in progress. The Sinus Rhythm with Far Field R-wave Counter is initialized to 0 when detection is initialized.

On each ventricular event the AF/AT Evidence Counter will be updated as follows. If the Sinus Rhythm Count Criterion is satisfied or the Sinus Rhythm with Far Field R-wave Count Criterion specified is satisfied, the AF/AT Evidence Counter is reset to 0.

If neither the Sinus Rhythm Count Criterion is satisfied or the Sinus Rhythm with Far Field R-wave Count Criterion is satisfied, and if the P count (number of atrial events in the RR interval, discussed above in conjunction with Beat Codes) is less than or equal to 1 and the AF/AT Evidence Counter was incremented on the last ventricular event, 1 is added to the AF/AT Evidence Counter up to a predefined the AF Score Maximum Value, e.g. 47.

If neither the Sinus Rhythm Count Criterion is satisfied or the Sinus Rhythm with Far Field R-wave Count Criterion is satisfied, and the P count is equal to 2 and the Far Field R-wave Criterion discussed above is met for the current ventricular event and the AF/AT Evidence Counter was incremented on the last ventricular event, 1 is added to the AF/AT Evidence Counter up to a predefined the AF Score Maximum Value.

If neither the Sinus Rhythm Count Criterion is satisfied or the Sinus Rhythm with Far Field R-wave Count Criterion specified is satisfied, and the P count is equal to 2 and the Far Field R-wave criterion discussed above is not met for the current ventricular event, 1 is added to the AF/AT Evidence Counter up to the AF Score Maximum Value.

If neither the Sinus Rhythm Count Criterion is satisfied or the Sinus Rhythm with Far Field R-wave Count Criterion specified is satisfied, and the P count is more than 2,1 is added to the AF/AT Evidence Counter up to the AF Score Maximum Value.

If none of the above conditions applies, 1 is subtracted from the AF/AT Evidence Counter down to a minimum value of 0.

Detection of sustained atrial fibrillation or sustained atrial tachycardia begins with preliminary detection of these rhythms. Preliminary detection of AF occurs when to the AF/AT Detection Evidence Count Criterion and the AF Rate Zone Criterion discussed above are both met. Preliminary detection of AF will result in the start of the sustained AF/AT duration timer, described in more detail below. Preliminary detection of AT occurs when the AF/AT Detection Evidence Count Criterion and the AT Rate Zone Criterion discussed above are both met. Preliminary detection of AT similarly results in the start of the sustained AF/AT duration timer. Preliminary Detection of AT or AF will be possible only if VT or VF is not detected by the device using the rules described above. AT and AF detection will be suspended if a detected VT or VF episode is in progress.

The sustained AF/AT duration timer is initiated on preliminary detection of AF or AT and continues to time until termination of atrial tachyarrhythmia is detected. The sustained duration timer continues to time through delivery of anti-atrial tachyarrhythmia therapies. The sustained AF/AT duration timer is used in conjunction with one or more defined minimum required durations, e.g. 1-1440 minutes, programmable by the physician, associated with either the arrhythmia determined to be underway and/or the type of therapy next scheduled for delivery, for example, the minimum sustained duration for a scheduled pacing pulse level therapy would typically be less than for a high voltage therapy delivered in response to detection of AF. No therapy for a detected arrhythmia, i.e. AT or AF can be delivered following delivery of a therapy for the same arrhythmia which has a longer defined minimum sustained duration. The type of arrhythmia underway, following activation of the sustained AF/AT duration timer may be AT, AF, or undefined, is determined according to the following method. The criteria for preliminary detection of AF and AT discussed above are continually applied following initial detection. The criterion (AF or AT) presently met is the arrythmia determined to be present. A failure to meet the AF/AT Evidence Counter Criterion or a failure to meet either of the AT and AF Rate Zone Criteria results in the arrhythmia being designated as unclassified. If the arrhythmia is classified as AT or AF, and if the applicable minimum required duration associated with the arrhythmia determined to be present and/or the next scheduled therapy has been exceeded, the next scheduled therapy is delivered, to any associated additional preconditions for therapy discussed below also being met. No therapy can be delivered while the arrhythmia is unclassified.

FIG. 12 illustrates the interrelation of the sustained AF/AT duration timer, the AF/AT evidence counter and the AF and AT Rate Zone Criteria in detecting sustained AF or AT and triggering delivery of anti-atrial arrhythmia therapy. At 500, The AF/AT Evidence counter begins to be incremented as described above. Concurrently the PP Median, AF Rate Zone Criteria and AT rate Zone Criteria are monitored. Preliminary detection of AT occurs, when the AF/AT Evidence Count reaches the required minimum duration at 502, with initial classification of the arrhythmia as AT occurring at 504, as the AT Rate Zone Criterion is also concurrently met. At 506, The arrhythmia is reclassified to AF, due to the AF Rate Zone Criterion being met. Subsequent changes in classification occur, with the arrhythmia being unclassified at 5 10 in response to the AF/AT Evidence Counter Criterion failing to be met at 508. When the AF/AT Evidence Counter Criterion is again met at 512, the arrhythmia is classified as AT due to the AT Rate Zone criterion being met. As illustrated, a Hysteresis AF/AT Evidence count Threshold is also defined.

In FIG. 12, a single defined minimum sustained duration is illustrated at 522. This would be the case if the minimum sustained duration is defined only by the next scheduled therapy type (e.g. high voltage shock vs. low energy, pacing pulse level therapies. However, if desired, different minimum sustained durations may also be defined for different arrhythmia types, as discussed above. At 516, the applicable minimum sustained duration is reached, concurrent with the arrhythmia being classified as AF, triggering delivery of the next scheduled AF therapy. Following delivery of the therapy, the AF/AT Evidence Counter is reset at 518, with redetection of AF occurring at 520, when the AF Evidence Counter again reaches the threshold.

As discussed above, the Sustained AF/AT Duration Timer continues to time until termination of atrial tachyarrhythmia is detected. Satisfaction of the AF/AT Episode Termination criterion will defines the end of a sustained AF/AT Episode, resets the Sustained AF/AT Duration Timer, and restores preliminary AF/AT detection conditions. The AF/AT Episode Termination Criterion is satisfied when either the Sinus Rhythm Counter Criterion discussed above is satisfied, or the Sinus Rhythm With Far Field R-wave Counter Criterion discussed above is satisfied, or detection has resumed for a predetermined time period, e.g. three minutes after being suspended (as discussed below) and the arrhythmia has not been classified in that time period as AF or AT, or a VT episode or VF episode is detected as discussed above.

All AF/AT detection-is temporarily suspended when an atrial anti-tachyarrhythmia therapy is in progress. When detection is suspended the device will operate as follows. The arrhythmia classification will be set to unclassified, but the device will continue to update the Sustained AF/AT Duration Timer, if it is currently in operation. Similarly, the device will continue to look for AF/AT termination of awhile the device is in the suspend detection state. When suspension of detection ends the device will initialize detection criteria other than the Sustained AF/AT Duration Timer, such that a full detection (or re-detection) sequence will be required to classify the rhythm or detect episode termination. Temporary suspension of detection will end when delivery of therapy is terminated.

Optionally, the device may be programmable to also suspend AF/AT detection for 16 ventricular intervals following therapy delivery. During this period the effective AFDI and ATDI will be set to zero (i.e. the AF and AT detection zones will be disabled). This feature is believed particularly desirable in conjunction with the High frequency stimulation therapies disclosed in the Mehra and Duffin patents cited above, to provide additional time needed for termination of atrial tachyarrhythmias treated with such therapy.

In preferred embodiments of the invention, additional prerequisite criteria for delivery of anti-atrial tachyarrhythmia therapies may be included. For example, AF/AT therapy may be disabled due to ventricular arrhythmia detection following AF/AT Therapy. Confirmation of AF/AT and/or expiration of a minimum delay since the delivery of a previous therapy may be prerequisites and a specified time of day may be prerequisites to delivery of AF/AT therapy. Expiration of a maximum sustained AF/AT duration and/or a predefined number of therapies having been delivered in a preceding time period may prevent delivery of AT/AF therapy. These additional criteria are discussed below.

The detection of VT or VF following the delivery of an AF/AT therapy prior to-either re-detection of AF/AT or AF/AT episode termination can optionally cause the device to disable all subsequent AF/AT therapy until the condition has been cleared by the physician. An AF/AT therapy disabled flag in this case would be set by the microprocessor would be available and may be cleared via telemetry, by the physician, if desired. This feature will prevent further AT/AF therapy when it has been closely associated with a detected episode of VT or VF. AF/AT detection may continue following termination of the VT or VF episode, however, no AF/AT therapies would be delivered.

Optionally, the device may retain a running count of the number high voltage AF/AT therapies delivered over the preceding 24 hours. An Atrial High Voltage Therapies per 24 Hour Cycle Criterion would be satisfied if the atrial high voltage therapy count is less than a programmed Maximum Number of Atrial High Voltage Therapies per 24 Hour Cycle. Satisfaction of the Atrial High Voltage Therapies per 24 Hour Cycle Criterion may be required as prerequisite to delivery of high voltage AT/AF therapies.

As discussed in U.S. patent application Ser. No. 08/434,899, by Bardy, for an "Atrial Defibrillator and Method of Use", filed May 3, 1995 and incorporated herein by reference in its entirety, it may also be desirable to limit delivery of high voltage therapies to a defined time period when the patient is likely to be asleep. A Time of Day Atrial High Voltage Therapy Criterion can prevent automatic atrial defibrillation therapy from being delivered outside of a programmed time window.

If a sustained episode of AF or AT persists for long enough, the physician may wish to prevent further attempts of the device to terminate the arrhythmia. Inn such case, A Time to Stop Therapy Criterion may be employed to disable AF and AT therapy when the Sustained AF/AT Duration Timer exceeds a programmed Time to Stop Therapy, e.g. more than 48 hours.

Confirmation of that a sinus rhythm has not resumed may also be required as a prerequisite to delivery of AF/AT therapy. An AF/AT Therapy Confirmation Criterion will prevent the initiation of atrial therapy when sinus rhythm has returned but AF/AT episode termination has not yet been detected. The AF/AT Therapy Confirmation Criterion may be satisfied for the current ventricular interval if either the number of atrial events in the current ventricular interval is greater than two, or the number of atrial events in the current ventricular interval is two and the atrial interval for both events is either less than the ATDI if AT detection is ON or AFDI if AT detection is OFF.

A minimum interval between delivered therapies may also be a prerequisite to AF therapy. A Post Therapy AF Therapy Delay Criterion may be employed to delay the initiation of AF therapy delivery of a prior AF therapy. This will allow nonsustained atrial fibrillation resulting from the therapy to spontaneously terminate before AF therapy intervention. It may also be used to create a delay between AF therapies. The Post AF Therapy Delay may be, for example, 240 seconds. The Post Therapy AF Therapy Delay Criterion is satisfied if either no AF therapies have been delivered in the current AF/AT episode, or he number of seconds since the last therapy scan delivered with the post therapy AF therapy delay enabled is greater than the Post Therapy AF Therapy Delay, and satisfaction of this criterion may be a prerequisite to delivery of AF therapy.

In conjunction with commercial embodiments of devices according to the present invention, it is anticipated that selecting which of the various available rules are to be activated in the device may prove an overwhelming task for the physician. As such, it is proposed that VF, VT, AF and AT detection and treatment using rules 8, 9, 10, 11 and 12 may be programmed only in specific combinations, such that if AF, AT or VT detection and therapies are enabled, then VF detection and therapies must also be enabled as a safeguard. Similarly, if AT detection and therapies are enabled, then AF and VF detection and therapies must also be enabled.

With regard to rules 3-7, these rules may be programmed on or off individually by the physician. However, simultaneous VF and SVT detection and therapy using rule 1 are automatically enabled in response to any of rules 3-7 being enabled along with VF detection and therapy using rule 9. Similarly, simultaneous VT and SVT detection and therapy using rule 2 is automatically enabled in response to any of rules 3-7 being enabled along with VT detection and therapy using rule 8 or 10. It should also be noted that under this proposed approach to selecting sets of rules to be activated, that the highest priority rules 1 and 2, which trigger delivery of therapy are not enabled in the absence of ennoblement of one or more of intermediate priority rules 3-7, which inhibit delivery of anti-tachycardia therapy. The reason for this is that the higher priority rules 1-2 set forth stricter requirements for detection of ventricular fibrillation and tachycardia than rules 8-10, and are thus unnecessary, in the absence of intermediate priority rules 3-7, capable of overriding the VT and VF detection criteria defined by these rules.

While the above rule set is described in terms of initial detection of a tachyarrhythmia, such a prioritized rule system may also be employed in conjunction with redetection of a tachyarrhythmia or in detection of a change of type of ventricular tachyarrhythmia. However, due to the complexities of such a system, it is proposed that as a practical matter, the device may simply be programmed such that following delivery of an initial tachycardia therapy, detection of termination of the arrhythmia and redetection of ventricular tachyarrhythmias be conformed to that employed in the Model 7219 , for the sake of ease of use and simplicity. In such an embodiment, delivery of an initial ventricular anti-tachyarrhythmia therapy will result in disablement of Rules 1-8 until subsequent detection of termination of the detected ventricular tachyarrhythmia, following which Rules 1˜8, as selected by the physician, may be reactivated. Redetection of atrial tachyarrhythmias is done using the criteria for preliminary detection, as described above in conjunction with rules 11 and 12.

While the AF/AT Evidence counter, the AF and AT Rate Zones and the AF/AT Sustained Duration Timer are disclosed as useful in detecting atrial tachyarrhythmias, it should be understood that the basic framework for arrhythmia detection they provide may also be useful to detect ventricular tachyarrhythmias. In particular, the basic functional interrelation of these elements of the device may be applicable in an analogous fashion to distinguish between ventricular tachycardias and/or nodal tachycardias.

The above disclosure sets forth a device in which sensed events in the atrium and ventricle are used to control delivery of electrical therapy to treat tachyarrhythmias. However, the basic hierarchical, rule-based arrhythmia detection methodology set forth is believed equally applicable to devices which deliver other types of therapies, such as automatic delivery of anti-arrhythmic drugs. Identification of the origin of the arrhythmia and delivery or withholding of therapy from one or more chambers of the heart, in response to an accurate diagnosis of the origin of the arrhythmia is equally valuable in such devices. Furthermore, it seems likely that commercial embodiments of such a device will require the use of a microprocessor in order to perform the numerous calculations and analysis steps required, it is within the realm of possibility that some or all of the detection criteria provided by the microprocessor in the above disclosure might instead be provided by means of a full custom, integrated circuit, particularly a circuit in which a state counter is employed instead of stored software, in order to control sequential operation of the digital circuitry, along the general lines of the circuits disclosed in U.S. Pat. No. 5,088,488, issued to Markowitz et al. and U.S. Pat. No. 5,052,388, issued to Sivula et al., both of which are incorporated herein by reference in their entireties. Thus, the above description should be considered exemplary, rather than limiting, with regard to the interpretation of the following claims. 

In conjunction with the above disclosure, we claim:
 1. An implantable anti-tachyarrhythmia device, comprising:means for delivering a ventricular anti-tachyarrhythmia therapy to a heart; means for defining atrial fibrillation criteria indicating the presence of atrial fibrillation; means for defining ventricular tachyarrhythmia criteria indicating the presence of ventricular tachyarrhythmia; means for monitoring heart rhythm; means for indicating whether said monitored heart rhythm currently meets both said supraventricular and ventricular tachyarrhythmia criteria; means responsive to both said atrial fibrillation and ventricular tachyarrhythmia criteria being met for triggering delivery of said ventricular anti-tachyarrhythmia therapy.
 2. A device according to claim 1 wherein said means for defining atrial fibrillation criteria comprises means for defining a required count of occurrences of defined atrial and ventricular beat patterns indicative of a atrial fibrillation.
 3. A device according to claim 1 wherein said means for defining atrial fibrillation criteria comprises means for defining a criterion indicative of A-V dissociation.
 4. A device according to claim 1 or claim 2 or claim 3 wherein said means for defining ventricular tachyarrhythmia criteria comprises means for defining a ventricular rate criterion.
 5. A device according to claim 1 or claim 2 or claim 3 wherein said means for defining ventricular tachyarrhythmia criteria comprises means for defining a ventricular rate regularity criterion.
 6. An implantable anti-tachyarrhythmia device, comprising:means for delivering an anti-tachyarrhythmia therapy to a heart; means for defining tachyarrhythmia criteria indicating the presence of a tachyarrhythmia; means for defining sinus tachycardia criteria indicating the presence of sinus tachycardia; monitoring means for sensing atrial and ventricular beats; means for indicating whether said monitored heart rhythm currently meets said tachyarrhythmia criteria and/or said sinus tachycardia criteria; means responsive to both said tachyarrhythmia criteria being met and said sinus tachycardia criteria not being met for triggering delivery of said anti-tachyarrhythmia therapy, wherein said means for defining sinus tachycardia criteria comprises means for defining a count of sequential occurrences of atrial and ventricular beat patterns indicative that said monitoring means has sensed a ventricular beat as an atrial beat.
 7. An implantable antitachyarrhythmia device, comprising:means for delivering a ventricular antitachyarrhythmia therapy to a heart; means for defining supraventricular tachyarrhythmia criteria indicating the presence of supraventricular tachyarrhythmia; means for defining ventricular tachyarrhythmia criteria indicating the presence of ventricular tachyarrhythmia; means for monitoring heart rhythms; means for indicating whether said monitored heart rhythm currently meets both said supraventricular and ventricular tachyarrhythmia criteria; means responsive to both said supraventricular and ventricular tachyarrhythmia criteria being met for triggering delivery of said ventricular antitachyarrhythmia therapy; and wherein said means for defining supraventricular tachyarrhythmia criteria comprises means for defining a criterion indicative of A-V dissociation. 